1diff --git a/pulsectl/_pulsectl.py b/pulsectl/_pulsectl.py
2index 4422ddf..3fb2f39 100644
3--- a/pulsectl/_pulsectl.py
4+++ b/pulsectl/_pulsectl.py
5@@ -31,7 +31,7 @@ else:
6 if not hasattr(mono_time, 'ts'):
7 class timespec(Structure):
8 _fields_ = [('tv_sec', c_long), ('tv_nsec', c_long)]
9- librt = CDLL('librt.so.1', use_errno=True)
10+ librt = CDLL('@librt@', use_errno=True)
11 mono_time.get = librt.clock_gettime
12 mono_time.get.argtypes = [c_int, POINTER(timespec)]
13 mono_time.ts = timespec
14@@ -625,7 +625,7 @@ class LibPulse(object):
15
16
17 def __init__(self):
18- p = CDLL(ctypes.util.find_library('libpulse') or 'libpulse.so.0')
19+ p = CDLL('@libpulse@')
20
21 self.funcs = dict()
22 for k, spec in self.func_defs.items():