Fixed build system for automake1.4