Fix compiler warnings
function attribute constructor(priority) is only valid after gcc-4.3