Fixed rules to enable debug build